<?php

abstract class TemplateTag
{
	protected $id;
	protected $DOMNode;
	protected $DOM;


	function __construct( $elementId, DOMNode $DOMNode, DOMDocument $DOM )
	{
    	$this->id = $elementId;
		$this->DOMNode = $DOMNode;
    	$this->DOM = $DOM;
    	
    	$this->initialize();
	}
	
	
	public function getId()
	{
		return $this->id;
	}


    abstract public function initialize();
	abstract public function render();
}

?>